<template>
  <div class="app-container">
    <!-- <el-button type="primary" size="mini" class="goBack" @click="toSearch">返回</el-button> -->
    <iframe :src="url" class="iframe" frameborder="0"/>
  </div>
</template>
<script>
export default {
  data() {
    return {
      url: 'http://qkl.msy.cn/#/txs/',
      hash: ''
    }
  },
  mounted() {
    if (this.$route.query.path) {
      this.url = this.url + this.$route.query.path
    }
  }
}
</script>

<style scoped>
.app-main .app-container, .iframe{
    width:100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom:0;
}

.goBack{
    position: absolute;
    top: 14px;
    left: 12px;
    z-index: 10000;
}
</style>
